import { UploadConfigApi } from '@/api/infra/file'
const useSourceConfig = () => {
  const getSourceConfig = async () => {
    let result = null
    const res: any = await UploadConfigApi.detail()
    if (res.code === 200) {
      result = res.data
    }
    return result
  }
  return {
    getSourceConfig
  }
}
export default useSourceConfig
